package com.jh.paymentchannel.repository;

import com.jh.paymentchannel.pojo.WFRegister;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface WFRegisterRepository extends JpaRepository<WFRegister, String>, JpaSpecificationExecutor<WFRegister>{
	
	@Query("select wf from  WFRegister wf where wf.bankCard=:bankCard")
	public WFRegister	getWFRegisterByBankCard(@Param("bankCard") String bankCard);
	
	
}
